#ifndef CONTROLLER_H
#define CONTROLLER_H

#include <SDL_events.h>

struct PlayerMovementMap
{
	// Player
	bool jump;
	bool forward;
	bool backward;
	bool left;
	bool right;
	bool reset;
};

struct CameraMovementMap
{
	bool forward;
	bool backward;
	bool left;
	bool right;
	bool up;
	bool down;
	bool rotateleft;
	bool rotateright;
	bool rotateup;
	bool rotatedown;
	bool showBounding;
	bool moveCamera;
	bool showNormals;
};

class Controller
{
	private: 
		PlayerMovementMap m_playerMap;
		CameraMovementMap m_cameraMap;

	public:
		Controller();
		bool poll( const SDL_Event& );

		const PlayerMovementMap& getPlayerMap() { return m_playerMap; }
		const CameraMovementMap& getCameraMap() { return m_cameraMap; }
};




#endif

